﻿namespace ExcelAutomator.Validation
{
	public interface IValidationResult
	{
		bool IsValid { get; }
		string Message { get; }
		string Context { get; }
	}

	public class ValidationResult : IValidationResult
	{
		public bool IsValid { get; private set; }
		public string Message { get; private set; }
		public string Context { get; private set; }

		public ValidationResult(string message, string context, bool success)
		{
			IsValid = success;
			Message = message;
			Context = context;
		}
	}
}